package io.fft.flight.common.utils.flightHttp.reponse;

import lombok.Data;

/**
 * @Author: likailun
 * @Description:
 * @Date: create in 2024/5/12 18:09
 */
@Data
public class BaseResVO<T> {
    /**
     * 请求返回代码,000000 成功
     */
    private String rsCode;
    /**
     * 返回已知的错误信息
     */
    private String rsMessage;

    private ResPageVO<T> pageResult;

    public boolean isOk(){
        return this.rsCode.equals("000000");
    }
}
